home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
gfx
/
conv
/
ilbm24.lha
/
ilbm
/
readilbm.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-01-30
|
409b
|
21 lines
/*
* include file for ilbm -> sunraster read.c
*
*/
#include <stdio.h>
#include <fcntl.h>
#include <sys/file.h>
#include <sunras.h>
#include <ilbm.h>
#define ASSIGN(p,red,grn,blu) do { (p).r = (red); (p).g = (grn); (p).b = (blu); } while ( 0 )
#define ALLOCROW( cols ) ((pixel*) malloc( cols * sizeof(pixel) ))
pixel *pixelrow;
FILE *fp;
struct BitMapHeader ilbmheader;
struct RasterHeader sunheader;